From b67984ae8e0a944908110d59ba7d3479f7ee42e3 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 6 Feb 2009 10:39:10 +0000 Subject: [PATCH] x86: ->shutdown() in free_irq() should be passed vector, not irq. Signed-off-by: Espen Skoglund --- xen/arch/x86/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index 2596011945..f0e8d599db 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -147,7 +147,7 @@ void free_irq(unsigned int irq) desc->action = NULL; desc->depth = 1; desc->status |= IRQ_DISABLED; - desc->handler->shutdown(irq); + desc->handler->shutdown(vector); spin_unlock_irqrestore(&desc->lock,flags); /* Wait to make sure it's not being used on another CPU */ -- 2.30.2